import org.aswing.plaf.ASFontUIResource;
import org.aswing.util.HashMap;

class org.aswing.plaf.custom.css.TypedProperties
{
	
	
	public static var colours:Array = ["shadowColor","darkShadowColor","lightColor", "highlightColor",
										   "foregroundColor", "backgroundColor"]											
										   
	public static var classes:Array = ["icon"]	
	
	public static var numbers:Array = [];
	
	private static var names:HashMap;
	
	public static function getUIDefaultsPropertyName(cssName:String):String{
		if(names == null){
			names = new HashMap();
			names.put("shadowColor","shadow")
			names.put("darkShadowColor","darkShadow")
			names.put("lightColor","light")
			names.put("highlightColor","highlight")
			names.put("foregroundColor","foreground")
			names.put("backgroundColor","background")
		}
		if(!names.containsKey(cssName))
			trace("ERROR: Unknown property Name: " + cssName)
		return names.get(cssName)
	}
}
